-
Notifications
You must be signed in to change notification settings - Fork 235
docs: update styles docs #5855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
docs: update styles docs #5855
Conversation
|
📚 Branch Preview🔍 Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
75ff964 to
4f6c32e
Compare
Rajdeepc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start! If you can take a look at the heading hierarchy that would help!
What's included section is optional for me! But you can take others suggestions on this whether to keep it or not!
4f6c32e to
305737d
Compare
|
@Rajdeepc I think I've addressed most of your feedback here, thanks! I removed a lot of the references to "Legacy" since it doesn't seem like that's terminology we're using. I made a lot of adjustments to heading levels, although I ended up getting down to I addressed the syntax highlighting suggestions too! I realized that a lot of these are Last thing: you left a comment about code snippets, I haven't addressed this yet but wanted to push up what I had today. |
305737d to
e7a1d35
Compare
e7a1d35 to
5d2b4e8
Compare
b50d061 to
4d0d3c2
Compare
marissahuysentruyt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only found one link that didn't work, and otherwise this looks great! I left a few extra questions for you, but I don't think any of them are blockers.
Nice work!
- Indentation fixes - Core tokens link fix - Use "Spectrum 2 tokens" rather than "v2-tokens" or "tokens-v2" - Adjust imports and comments in example
This reverts commit 6a63a69.
marissahuysentruyt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Description
Updates the
@spectrum-web-components/stylespackage documentation for clarity and completeness.Updated 11/11: Expands documentation to more thoroughly describe tokens, with code snippets, while minimizing documentation about themes files, which will be deprecated.
Motivation and context
Part of a larger docs improvement initiative to update documentation.
Related issue(s)
Author's checklist
I have reviewed at the Accessibility Practices for this feature, see: Aria PracticesI have added automated tests to cover my changes.I have included a well-written changeset if my change needs to be published.Reviewer's checklist
patch,minor, ormajorfeaturesManual review test cases
1. Link validation
2. Code examples and imports
cssnotts)3. Terminology consistency
4. Markdown formatting and readability
Device review